using System.Net;
using TechHeadBrothers.Portal.Web.SilverlightStreaming.Commands;

namespace TechHeadBrothers.Portal.Web.SilverlightStreaming.Commands
{
    public class GetFilesetFilesListCommand : FilesetCommand
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="GetFilesetFilesListCommand"/> class.
        /// </summary>
        /// <param name="manager">The manager.</param>
        public GetFilesetFilesListCommand(SilverlightStreamingManager manager) : base(manager)
        {
        }

        /// <summary>
        /// Configures the HTTP web request.
        /// </summary>
        /// <param name="request">The request.</param>
        protected override void ConfigureHttpWebRequest(HttpWebRequest request)
        {
            request.Method = WebRequestMethods.Http.Get;
        }
    }
}